<div class="ub ub-ac page-header">
	<a href="/weixin/user/person" class="clickable"><span class="icon-adduser"></span></a>
	<div class="ub-f1 page-name">个人中心</div>
	<a href="/weixin/user/sysList" class="clickable">
	<if condition="$sysnum neq 0">
		<!-- 有消息 -->
		<span class="icon-msg"></span>
	<else/>
		<!-- 无消息 -->
		<span class="icon-msg2"></span>
	</if>
	</a>
</div>
<div class="banner-img">
	<img src="__IMAGES__/userbanner.jpg" alt="">
	<div class="user-info ub ub-ver ub-ac ub-pc ub-con">
		<img class="tx-cir" src="__WEBURL__{$userInfo.uavatar}" alt="">
		<p class="cl-f-orange f16 ub ub-ac">{$userInfo.nickname}
		    <if condition="$userInfo.ifrz eq 1">
		    <span class="icon-daren"></span>
		    </if>
	    </p>
		<p class="ub ub-pc ub-ac"><a class="btn cl-b-xlgrey clickable" href="{:U('User/trylist')}">试用记录</a><a class="btn cl-b-xlgrey clickable-deep" href="{:U('User/coll')}">我的收藏</a></p>
	</div>
</div>
<p class="ub cl-b-white banner-info">
	{$userInfo.usign}
</p>
<ul class="ub ub-ac cl-b-white user-num">
	<li class="ub-f1 clickable" onclick="window.location.href='{:U('User/fans')}'"  ><p class="cl-f-orange">{$userInfo.attentionnum|getNullNum}</p><p>关注</p></li>
	<li class="ub-f1 clickable" onclick="window.location.href='{:U('User/fans')}'"><p class="cl-f-orange">{$userInfo.fansnum|getNullNum}</p><p>粉丝</p></li>
	<li class="ub-f1 clickable" onclick="window.location.href='{:U('User/score')}'"><p class="cl-f-orange">{$userInfo.upoint|getNullNum}</p><p>积分</p></li>
</ul>
<div class="ub ub-ac ub-pj cl-b-lgrey user-btn">
	<a href="{:U('Work/add')}" class="ub-f1 ub ub-ac ub-pc cl-b-white btn clickable"><span class="icon-fabu"></span><span>发布食谱</span></a>
	<a href="{:U('Suipai/add')}" class="ub-f1 ub ub-ac ub-pc cl-b-white btn clickable"><span class="icon-pai"></span><span>发随手拍</span></a>
</div>
<div class="tab-section user-tab-select ub row cl-b-white f14">
	<div class="ub-f1">
	   <if condition="$type eq 4">
	   	<a href="javascript:;" class="active cl-f-grey"><span class="user-tab-select-num">{$suipaiNum|getNullNum}</span>随手拍</a>
	   <else/>
	   <a href="/weixin/user/index" class="cl-f-grey"><span class="user-tab-select-num">{$suipaiNum|getNullNum}</span>随手拍</a>
	   </if>
    </div>
	<div class="ub-f1">
	   <if condition="$type eq 1">
	   	<a href="javascript:;" class="active cl-f-grey"><span class="user-tab-select-num">{$workNum|getNullNum}</span>食谱</a>
	   <else/>
	   <a href="/weixin/user/index?type=1" class="cl-f-grey"><span class="user-tab-select-num">{$workNum|getNullNum}</span>食谱</a>
	   </if>
    </div>
	<div class="ub-f1">
	   <if condition="$type eq 7">
	   	<a href="javascript:;" class="active cl-f-grey"><span class="user-tab-select-num">{$teachNum|getNullNum}</span>专栏</a>
	   <else/>
	   <a href="/weixin/user/index?type=7" class="cl-f-grey"><span class="user-tab-select-num">{$teachNum|getNullNum}</span>专栏</a>
	   </if>
    </div>
</div>
